<div id='editTabContainer'>
<form action='' method='POST'>
    <input type='hidden' name='setKey' value='{{ setKey }}' id='setKey' />
    <table class='edit_set'>
	<tr>
	    <td>Title:</td>
	    <td><input type='text' id='title' name='title' value='{{ title }}' class='inputfield'></td>
	</tr>
	<tr>
	    <td>Visibility:</td>
	    <td><select name='visibility' id='visibility'>{{ option_list }}</select></td>
	</tr>
	{% if askForEmail %}
	<tr>
	    <td>Email:</td>
	    <td>
		<p>If you want to share this set with other users, and you want to receive their feedbacks, you must provide your email address.</p>
		<input type='text' name='email' id='email' class='inputfield'/>
	    </td>
	</tr>
	{% endif %}
	<tr><td>Study Materials:</td><td><textarea class='loadEditor' style='width: 100%' id='materials'>{{ materials }}</textarea></td></tr>
	<tr><td>Description:</td>
	    <td>
		A short introduction of what this set is for.  This is displayed when other user use the search form.
		<textarea id='description' class='loadEditor' style='width: 100%'>{{ description }}</textarea>
	    </td>
	</tr>
	<tr><td colspan=2><input type='button' value='Submit' id='submit'></td></tr>
    </table>
</form>
</div>
